home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 1 / LSD Compendium Deluxe 1.iso / a / compression / xpk / xpkfast.lha / Makefile < prev    next >
Encoding:
Makefile  |  1993-08-21  |  1.1 KB  |  75 lines

  1. #
  2. # Makefile for the FAST sub library
  3. #
  4.  
  5. lib = xpkFAST.library
  6. ARCHIV = xpkFAST_V1.00.lha
  7.  
  8. CC=sc
  9. CFLAGS=NOSTACKCHECK OPT
  10.  
  11.  
  12. #CC=gcc
  13. #CFLAGS=-g -O -Wall
  14.  
  15. AS=BAsm
  16. AFLAGS= -O -OT
  17.  
  18. #AS = as
  19. #AFLAGS = -ixpk:include -iinc68k: 
  20.  
  21. #AS = A68k
  22. #AFLAGS = -f -q -iinclude: -ixpk:include
  23. #AFLAGS = -f -q -i,sc:include
  24.  
  25. #CC = sc
  26. #CFLAGS = IDIR xpk:include NOSTACKCHECK OPT
  27.  
  28. # all files which have to be in xpkFAST.lha
  29. ARCHIV_FILES =    xpkFAST.library FAST.doc ToDo Makefile \
  30.         FAST.i xpkFAST.s FASTmisc.s compress.s compress2.s decompress.s
  31.  
  32. OBJ_FILES = xpkFAST.o FASTmisc.o compress.o compress2.o decompress.o
  33.  
  34. %.o: %.s
  35.     $(AS) $(AFLAGS) $<
  36.  
  37. all: $(lib)
  38.  
  39. #
  40. # Makes the real library
  41. #
  42. $(lib): $(OBJ_FILES)
  43.     BLINK ND SC SD \
  44.     TO $(lib) \
  45.     LIB dh0:compiler/amiga.lib \
  46.     FROM $(OBJ_FILES)
  47.     Copy $(lib) libs:compressors
  48.     Avail FLUSH
  49.  
  50. #
  51. # Archiv
  52. #
  53.  
  54. dist: $(ARCHIV)
  55.  
  56. $(ARCHIV):  $(ARCHIV_FILES)
  57.     lha u $(ARCHIV) $(ARCHIV_FILES)
  58.  
  59. #
  60. # Cleanup
  61. #
  62.  
  63. clean:
  64.     -Delete "#?.o"
  65.  
  66. #
  67. # Dependencys
  68. #
  69. compress.o    : compress.s
  70. compress2.o    : compress2.s
  71. decompress.o    : decompress.s
  72. xpkFAST.o    : xpkFAST.s FAST.i
  73. FASTmisc.o    : FASTmisc.s FAST.i
  74.  
  75.